const mongoose = require("mongoose");
const Schema = mongoose.Schema;
// 创建数据结构
const theatersSchema = new Schema({
    theatersName:String,
    theatersStatus:Boolean,
    cinemasId:{type:"ObjectId",ref:"cinemas"},
});
mongoose.model("theaters", theatersSchema,"theaters");